<include file="Public:header" />

<style>
    .tittleA{height:40px;line-height: 40px;border-bottom:1px solid #eee;padding-left:10px;font-size: 16px; }
    .zong{width:100%;height:40px;line-height: 40px;border-bottom: 1px solid #ddd}
    .tittle{width:100px;float:left;padding-left:10px;}
    .pag{text-align: center}
</style>

<script language=javascript src="__PUBLIC__/Js/wpCalendar.js"></script>
<div class="ncenter_box">

<div class="tittleA">会员管理 <a href="__APP__"> [返回]</a></div>


<form name="form3" method="post" action="__URL__/adminMenberAC">
<table width="100%" class="tab3" border="0" cellpadding="3" cellspacing="1" id="tb1" bgcolor="#b9c8d0">


    <volist name="list" id="vo" key="k">
        <div <if condition="$k%2== '0'"><if condition="$k%4== '0'"> style="background-color:#f2dede;border-left:2px solid #d73d32 ;"<else/> style="background-color:#fcf8e3;border-left:2px solid #f4b400 ;" </if ><else/>style="background-color:#dff0d8;border-left:2px solid #53a93f;"</if > >
        <div class="zong">
            <div class="tittle">&nbsp;</div>
            <div class="info"><input id="checkbox" type="checkbox" name="tabledb[]" value="{$vo['id']}" class="btn2" /></div>
        </div>
        <div class="zong">
            <div class="tittle">会员编号</div>
            <div class="info"><a href="__URL__/adminuserData/PT_id/{$vo['id']}">{$vo['user_id']}</a></div>
        </div>
        <div class="zong">
            <div class="tittle">姓名</div>
            <div class="info">{$vo['user_name']}</div>
        </div>
        <div class="zong">
            <div class="tittle">开通时间</div>
            <div class="info">{$vo.pdt|date='Y-m-d H:i:s',###}</div>
        </div>
        <div class="zong">
            <div class="tittle">电子币</div>
            <div class="info">{$vo['agent_use']}</div>
        </div>
        <div class="zong">
            <div class="tittle">状态</div>
            <div class="info"><eq name="vo['is_lock']" value='0'><span style="color: #FF0000;">未锁定</span><else />已锁定</eq><eq name="vo['is_pay']" value='2'>[空单]</eq></div>
        </div>
        <div class="zong">
            <div class="tittle">是否奖金</div>
            <div class="info"><eq name="vo['is_fenh']" value='0'><span style="color: #FF0000;">开启奖金</span><else />关闭奖金</eq></div>
        </div>

</div>
</volist>
</table>



    <!--<thead>-->
    <!--<tr align="center">-->
        <!--<th></th>-->
        <!--<th><span>会员编号</span></th>-->
        <!--<th><span>姓名</span></th>-->
        <!--&lt;!&ndash; <th><span>代理中心</span></th> &ndash;&gt;-->
        <!--&lt;!&ndash;<th><span>会员代数</span></th>&ndash;&gt;-->
        <!--&lt;!&ndash;<th><span>联系电话</span></th>&ndash;&gt;-->
        <!--&lt;!&ndash; <th><span>代理商</span></th> &ndash;&gt;-->
        <!--&lt;!&ndash;<th><span>代理商</span></th>-->
        <!--<th><span>管理员</span></th>&ndash;&gt;-->
        <!--<th><span>开通时间</span></th>-->

        <!--&lt;!&ndash; <th><span>积分</span></th> &ndash;&gt;-->
        <!--<th><span>电子币</span></th>-->
        <!--&lt;!&ndash;<th><span>合作收益</span></th>&ndash;&gt;-->
        <!--&lt;!&ndash;<th><span>销售收益</span></th>&ndash;&gt;-->
        <!--&lt;!&ndash;<th><span>剩余提现</span></th>&ndash;&gt;-->

        <!--&lt;!&ndash;<th><span>封闭静态/封闭领导/封闭报单</span></th>&ndash;&gt;-->

        <!--&lt;!&ndash;<th><span>推荐人数</span></th>&ndash;&gt;-->
        <!--&lt;!&ndash;<th><span>推荐单数</span></th>&ndash;&gt;-->
        <!--&lt;!&ndash;<th><span>分红天数</span></th>&ndash;&gt;-->
        <!--&lt;!&ndash;<th><span>信用积分</span></th>&ndash;&gt;-->
		<!--&lt;!&ndash;<th><span>消费积分</span></th>&ndash;&gt;-->
		<!--&lt;!&ndash;<th><span>购股积分</span></th>&ndash;&gt;-->
		<!--&lt;!&ndash;<th><span>PET数</span></th>&ndash;&gt;-->
        <!--&lt;!&ndash;<th><span>累计出售PET数</span></th>&ndash;&gt;-->
        <!--<th><span>状态</span></th>-->
     <!--&lt;!&ndash;   <th><span>分红</span></th>&ndash;&gt;-->
        <!--<th><span>是否奖金</span></th>-->
        <!--&lt;!&ndash;<th><span>权限</span></th>&ndash;&gt;-->
        <!--</tr>-->
    <!--</thead>-->
    <!--<volist name="list" id="vo">-->
    <!--<tr class="content_td lz" align="center">-->
        <!--<td><input id="checkbox" type="checkbox" name="tabledb[]" value="{$vo['id']}" class="btn2" /></td>-->
        <!--<td><a href="__URL__/adminuserData/PT_id/{$vo['id']}">{$vo['user_id']}</a></td>-->
        <!--<td>{$vo['user_name']}</td>-->
        <!--&lt;!&ndash; <td>{$vo['shop_name']}</td> &ndash;&gt;-->
        <!--&lt;!&ndash;<td>{$vo['re_level']}</td>&ndash;&gt;-->
        <!--&lt;!&ndash;<td>{$vo['user_tel']}</td>&ndash;&gt;-->
        <!--&lt;!&ndash; <td><eq name="vo['is_agent']" value='2'><span style="color:BLUE;">是</span><else/>否</eq></td> &ndash;&gt;-->
        <!--&lt;!&ndash;<td><eq name="vo['is_jb']" value='1'><span style="color:BLUE;">是</span><else/>否</eq></td>-->
        <!--<td><eq name="vo['is_aa']" value='2'><span style="color:BLUE;">物流</span></eq>-->
        	<!--<eq name="vo['is_aa']" value='1'><span style="color:BLUE;">财务</span></eq>-->
            <!--<eq name="vo['is_aa']" value='0'><span style="color:BLUE;">否</span></eq></td>&ndash;&gt;-->
        <!--<td>{$vo.pdt|date='Y-m-d H:i:s',###}</td>-->
        <!--&lt;!&ndash; <td>{$vo['agent_cash']}</td> &ndash;&gt;-->
        <!--<td>{$vo['agent_use']}</td>-->

        <!--&lt;!&ndash;<td>{$vo['agent_cf']}</td>&ndash;&gt;-->
        <!--&lt;!&ndash;<td>{$vo['agent_kt']}</td>&ndash;&gt;-->
        <!--&lt;!&ndash;<td>{$vo['b1']}</td>&ndash;&gt;-->

        <!--&lt;!&ndash;<td>{$vo['agent_cash']}</td>&ndash;&gt;-->

        <!--&lt;!&ndash;<td>{$vo['agent_xf']}</td>&ndash;&gt;-->
        <!--&lt;!&ndash;<td>{$vo['agent_kt']}</td>&ndash;&gt;-->
        <!--&lt;!&ndash;<td>【{$vo['agent_cf']}】【{$vo['before_lingdao']}】【{$vo['before_baodan']}】</td>&ndash;&gt;-->

        <!--&lt;!&ndash;<td>{$vo['re_nums']}</td>&ndash;&gt;-->
        <!--&lt;!&ndash;<td>{$vo['re_f4']}</td>&ndash;&gt;-->
        <!--&lt;!&ndash;<td>{$vo['fanli_money']/1}</td>&ndash;&gt;-->
        <!--&lt;!&ndash;<td>{$vo['agent_kt']}</td>&ndash;&gt;-->
		<!--&lt;!&ndash;<td>{$vo['agent_cf']}</td>&ndash;&gt;-->
		<!--&lt;!&ndash;<td>{$vo['agent_gp']}</td>&ndash;&gt;-->
		<!--&lt;!&ndash;<td>{$vo['live_gupiao']}</td>&ndash;&gt;-->
        <!--&lt;!&ndash;<td>{$vo['all_out_gupiao']}</td>&ndash;&gt;-->
        <!--<td><eq name="vo['is_lock']" value='0'><span style="color: #FF0000;">未锁定</span><else />已锁定</eq><eq name="vo['is_pay']" value='2'>[空单]</eq></td>-->
        <!--&lt;!&ndash;<td><eq name="vo['is_aa']" value='0'><span style="color: #FF0000;">正常</span><else />出局</eq></td>&ndash;&gt;-->
        <!--<td><eq name="vo['is_fenh']" value='0'><span style="color: #FF0000;">开启奖金</span><else />关闭奖金</eq></td>-->
        <!--&lt;!&ndash;<td>&ndash;&gt;-->
            <!--&lt;!&ndash;<eq name="vo['power']" value='0'><a href="__URL__/setPower/id/{$vo['id']}/power/1">无</a></eq>&ndash;&gt;-->
            <!--&lt;!&ndash;<eq name="vo['power']" value='1'><a href="__URL__/setPower/id/{$vo['id']}/power/0"><font style="color: blue">有</font></a></eq>&ndash;&gt;-->
        <!--&lt;!&ndash;</td>&ndash;&gt;-->
        <!--&lt;!&ndash;<td><a href="__URL__/premadd/id/{$vo['id']}">权限</a></td>&ndash;&gt;-->
        <!--</tr>-->
    <!--</volist>-->


<!--<tr style="display:none">
<td colspan="13" align="center"><font color="#FF0000">总业绩： {$f4_count}</font></td>
</tr>-->
<!--</table>-->


<table width="100%" class="tab3_bottom" border="0" cellpadding="0" cellspacing="1">
    <tr>
   	  <td width="60%">
          <input name="全选" type="button" class="button_text button" id="AllX" onclick="CheckAll(this.form)" value="全选" />	  &nbsp;&nbsp;
          <input type="submit" name="action" value="激活会员" class="button_text button" onclick="{if(confirm('确定要开启会员吗?')){return true;}return false;}">&nbsp;&nbsp;
          <input type="submit" name="action" value="锁定会员" class="button_text button" onclick="{if(confirm('确定要锁定会员吗?')){return true;}return false;}" >&nbsp;&nbsp;
          <!--<input type="submit" name="action" value="删除会员" class="button_text button" onclick="{if(confirm('确定要删除会员吗?')){return true;}return false;}">&nbsp;&nbsp;-->
          <input type="submit" name="action" value="开启奖金" class="button_text button" onclick="{if(confirm('确定要开启奖金吗?')){return true;}return false;}" >&nbsp;&nbsp;
          <input type="submit" name="action" value="关闭奖金" class="button_text button" onclick="{if(confirm('确定要关闭奖金吗?')){return true;}return false;}" >&nbsp;&nbsp;
          <!-- <input type="submit" name="action" value="设为代理中心" class="button_text button" onclick="{if(confirm('确定要将选中会员设为设为代理中心吗?')){return true;}return false;}"> -->
          <!-- <input type="submit" name="action" value="取消代理中心" class="button_text button" onclick="{if(confirm('确定要将选中会员取消代理中心吗?')){return true;}return false;}"> -->
              <!--<input type="submit" name="action" value="特殊账号" class="button_text" onclick="{if(confirm('确定要将选中会员设为特殊账号吗?')){return true;}return false;}">-->
              <!--<input type="submit" name="action" value="取消特殊账号" class="button_text" onclick="{if(confirm('确定要将选中会员取消特殊资格吗?')){return true;}return false;}">-->
          <!--<input type="submit" name="action" value="修改天数" class="button_text" onclick="{if(confirm('确定要修改分红天数吗?')){return true;}return false;}">&nbsp;&nbsp;-->
          <!--<input type="text" style="width:50px;" name="fh_day" value="0" >天-->
          <!--<input type="submit" name="action" value="开启打卡奖" class="button_text" onclick="{if(confirm('确定要开启打卡奖吗?')){return true;}return false;}">&nbsp;&nbsp;
          <input type="submit" name="action" value="关闭打卡奖" class="button_text" onclick="{if(confirm('确定要关闭打卡奖吗?')){return true;}return false;}">&nbsp;&nbsp;-->
        <!--  <input type="submit" name="action" value="开启分红奖" class="button_text" onclick="{if(confirm('确定要开启会员分红奖吗?')){return true;}return false;}">&nbsp;&nbsp;
          <input type="submit" name="action" value="关闭分红奖" class="button_text" onclick="{if(confirm('确定要关闭会员分红奖吗?')){return true;}return false;}">&nbsp;&nbsp;
          <input type="submit" name="action" value="设为代理商" class="button_text" onclick="{if(confirm('确定要将选中的会员设为代理商吗?')){return true;}return false;}">&nbsp;&nbsp;
          <input type="submit" name="action" value="取消代理商" class="button_text" onclick="{if(confirm('确定要将选中的会员取消代理商资格吗?')){return true;}return false;}">&nbsp;&nbsp;-->
          <!--<input type="submit" name="action" value="设为财务管理" class="button_text" onclick="{if(confirm('确定要将选中的会员设为财务管理吗?')){return true;}return false;}">&nbsp;&nbsp;
          <input type="submit" name="action" value="设为物流管理" class="button_text" onclick="{if(confirm('确定要将选中的会员设为物流管理吗?')){return true;}return false;}">&nbsp;&nbsp;
          <input type="submit" name="action" value="取消管理员" class="button_text" onclick="{if(confirm('确定要将选中的会员取消管理员资格吗?')){return true;}return false;}">&nbsp;&nbsp;-->
          <!--<input type="submit" name="action" value="奖金转注册币" class="button_text" onclick="{if(confirm('确定要将此会员的EP数量账户全部转为注册币吗?')){return true;}return false;}">-->
      </td>
    </tr>
</table>
<table width="100%" class="tab3_bottom" border="0" cellpadding="0" cellspacing="1">
    <tr>
        <td>{$page}</td>
    </tr>
</table>
</form>
<!--<table width="100%" align="center">-->
    <!--<tr>-->
    <!--<td align="center"><form method='post' action="__URL__/adminMenber/">搜索会员：<input type="text" name="UserID" title="帐号查询">-->
    <!--&nbsp;&nbsp;-->
    <!--<select name="ulevel">-->
    <!--<option value="0">全部</option>-->
    <!--<volist name="voo" id="ulv">-->
    <!--<option value="{$key}">{$level[$key-1]}</option>-->
    <!--</volist>-->
    <!--</select>-->

    <!--<select name="other">-->
        <!--<option value="0">全部</option>-->
        <!--<option value="1">今天注册</option>-->
    <!--</select>-->
    <!--&nbsp;&nbsp;-->
        <!--<input type="submit" name="Submit" value="查询"  class="button_text"/>-->
    <!--&nbsp;-->
    <!--&lt;!&ndash;<input name="button3" type="button" onclick="window.location.href='__URL__/financeDaoChu_MM/'" value="将所有会员导出Excel表格" class="button_text" />&ndash;&gt;-->
    <!--</form></td>-->
    <!--</tr>-->
<!--</table>-->
    <style>
        .info p{
            float: left;
        }
        .info{
            margin-top:10px;
        }
    </style>
    <form method='post' action="__URL__/adminMenber/">
        <div style="width: 400px;margin: 0 auto;">

            <div class="info">
                <p>搜索会员：</p>
                <input name="UserID" type="text" id="UserID" title="帐号查询" maxlength="50" style="background: #cbc893;">
            </div>
            <div style="clear: both"></div>
            <div class="info">
                <p>级别条件：</p>
                <select name="ulevel" style="background: #e278dd;">
                    <option value="0">全部</option>
                    <volist name="voo" id="ulv">
                        <option value="{$key}">{$level[$key-1]}</option>
                    </volist>
                </select>
            </div>
            <div style="clear: both"></div>
            <div class="info">
                <p> 注册时间：</p>
                <select name="other"  style="background: #e278dd;">
                    <option value="0">全部</option>
                    <option value="1">今天注册</option>
                </select>
            </div>
            <input type="submit" name="Submit" value="查询" class="bt_tj" style="background: #74b025;margin-top: 10px;width: 50px;" />
        </div>
    </form>


<table width="100%" align="center" style="display:none">
    <tr>
    <td align="center"><form method='post' action="__URL__/adminMenber/">搜索会员业绩：
    开始日期：<input name="sNowDate" type="text" id="sNowDate" onFocus="showCalendar(this)" readonly />
     &nbsp;结束日期：  <input name="endNowDate" type="text" id="endNowDate" onFocus="showCalendar(this)" readonly />

    会员编号 ： <input type="text" name="RID" title="帐号查询">
    <input type="submit" name="Submit" value="查询"  class="button_text"/>
    &nbsp;
    </form></td>
    </tr>
</table>
</div>

<script>new TableSorter("tb1");</script>

<div style="height: 100px;"></div>
<include file="Public:footer" />
